# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html

class PictPipeline(object):
    def __init__(self):
        self.file = open("1.txt", "wb")
    def process_item(self, item, spider):
        print "item xxxx len is :", len(item)
        print item
        item.save()
        #self.file.write(item['url'])

